package com.ruoyi.project.cms.knowledgemanagement.mapper;

import com.ruoyi.project.cms.knowledgemanagement.domain.KnowledgeBenchmarking;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface KnowledgeBenchmarkingMapper {
    /**
     * 查询所有
     * @param knowledgeBenchmarking
     * @return
     */
    List<KnowledgeBenchmarking> selectKnowledgeBenchmarking(KnowledgeBenchmarking knowledgeBenchmarking);

    /**
     * 通过项目id删除
     * @param project_id
     * @return
     */
    Integer deleteKnowledgeId(Integer project_id);

    /**
     * 批量删除
     * @param project_ids
     * @return
     */


    /**
     * 根据项目id修改
     */
    Integer updateKnowledgeId(Integer project_id);

    int deleteRoleByIds(@Param("projectIds") Long[] roleIds);


    int changeStatus(KnowledgeBenchmarking knowledgeBenchmarking);

    KnowledgeBenchmarking selectKnowledgeBenchmarkingById(Long project_id);
}
